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pYyA9IHJ1bGUubWt0dlVybCArIGl0ZW0uaWQgKyAnLmpwZyc7CiAgICAgICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgICAgIHZvZF9pZDogaXRlbS5uYW1lICsgJ0BAJyArIGl0ZW0ubmFtZSArICdAQCcgKyBwaWMsCiAgICAgICAgICAgICAgICAgICAgdm9kX25hbWU6IGl0ZW0ubmFtZSwKICAgICAgICAgICAgICAgICAgICB2b2RfcGljOiBwaWMsCiAgICAgICAgICAgICAgICAgICAgdm9kX3JlbWFya3M6ICcnLAogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICB9IGVsc2UgaWYgKE1ZX0NBVEUgPT09ICdzb25nJykgewogICAgICAgICAgICBpZiAoTVlfRkwubGFuKSB7CiAgICAgICAgICAgICAgICBfdXJsICs9ICcmd2hlcmU9bGFuZ3VhZ2VfaWQma2V5d29yZHM9JyArIE1ZX0ZMLmxhbiArICcmc2l6ZT0yMSc7CiAgICAgICAgICAgIH0gZWxzZSBpZiAoTVlfRkwudHlwZSkgewogICAgICAgICAgICAgICAgX3VybCArPSAnJndoZXJlPXR5cGVfaWQma2V5d29yZHM9JyArIE1ZX0ZMLnR5cGUgKyAnJnNpemU9MjEnOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGxldCBodG1sID0gcmVxdWVzdChfdXJsKTsKICAgICAgICAgICAgbGV0IGpzb24gPSBKU09OLnBhcnNlKGh0bWwpOwogICAgICAgICAgICBkID0ganNvbi5tYXAoaXRlbSA9PiB7CiAgICAgICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgICAgIHZvZF9pZDogcnVsZS5ta3R2VXJsICsgaXRlbS5udW1iZXIgKyAnLm1rdicgKyAnQEAnICsgaXRlbS5uYW1lICsgJ0BAJyArICcnLAogICAgICAgICAgICAgICAgICAgIHZvZF9uYW1lOiBpdGVtLm5hbWUsCiAgICAgICAgICAgICAgICAgICAgdm9kX3BpYzogcnVsZS5waWMsCiAgICAgICAgICAgICAgICAgICAgdm9kX3JlbWFya3M6ICcnLAogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9KTsKICAgICAgICB9CiAgICAgICAgVk9EUyA9IGQ7CiAgICB9KSwKICAgIOS6jOe6pzogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBsZXQgaWQgPSBvcklkLnNwbGl0KCdAQCcpWzBdOwogICAgICAgIGxldCBuYW1lID0gb3JJZC5zcGxpdCgnQEAnKVsxXTsKICAgICAgICBpZiAoaWQuZW5kc1dpdGgoJy5ta3YnKSkgewogICAgICAgICAgICBWT0QgPSB7CiAgICAgICAgICAgICAgICB2b2RfbmFtZTogbmFtZSwKICAgICAgICAgICAgICAgIHZvZF9wbGF5X2Zyb206ICfpgZPplb/lnKjnur8nLAogICAgICAgICAgICAgICAgdm9kX2NvbnRlbnQ6ICfpgZPplb/lnKjnur8nLAogICAgICAgICAgICB9CiAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgVk9EID0gewogICAgICAgICAgICAgICAgdm9kX25hbWU6IGlkLAogICAgICAgICAgICAgICAgdm9kX3BsYXlfZnJvbTogJ+mBk+mVv+WcqOe6vycsCiAgICAgICAgICAgICAgICB2b2RfY29udGVudDogJ+mBk+mVv+WcqOe6vycsCiAgICAgICAgICAgIH0KICAgICAgICB9CiAgICAgICAgaWYgKGlkLmVuZHNXaXRoKCcubWt2JykpIHsKICAgICAgICAgICAgVk9ELnZvZF9wbGF5X3VybCA9ICfll4XmjqLmkq3mlL4kJyArIGlkOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIGxldCBkYXRhID0gW107CiAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgMjsgaSsrKSB7CiAgICAgICAgICAgICAgICBsZXQgcGcgPSBOdW1iZXIoaSkgKyAxOwogICAgICAgICAgICAgICAgbGV0IHVybCA9IGAke3J1bGUuaG9zdH0vc2VhcmNobXY/dGFibGU9c29uZyZ3aGVyZT1zaW5nZXJfbmFtZXMma2V5d29yZHM9JHtpZH0mc2l6ZT01MDAmcGc9JHtwZ31gOwogICAgICAgICAgICAgICAgbGV0IHJlcyA9IHJlcXVlc3QodXJsKTsKICAgICAgICAgICAgICAgIGxldCBqc29uID0gSlNPTi5wYXJzZShyZXMpOwogICAgICAgICAgICAgICAgZGF0YSA9IGRhdGEuY29uY2F0KGpzb24pOwogICAgICAgICAgICB9CiAgICAgICAgICAgIFZPRC52b2RfcGxheV91cmwgPSAoZGF0YS5tYXAoaXRlbSA9PiB7CiAgICAgICAgICAgICAgICByZXR1cm4gaXRlbS5uYW1lICsgJyQnICsgcnVsZS5ta3R2VXJsICsgaXRlbS5udW1iZXIgKyAnLm1rdic7CiAgICAgICAgICAgIH0pKS5qb2luKCcjJyk7CiAgICAgICAgfQogICAgfSksCiAgICDmkJzntKI6ICRqcy50b1N0cmluZygoKSA9PiB7CiAgICAgICAgbGV0IGQgPSBbXTsKICAgICAgICBsZXQgaHRtbCA9IHJlcXVlc3QoaW5wdXQpOwogICAgICAgIGxldCBqc29uID0gSlNPTi5wYXJzZShodG1sKTsKICAgICAgICBkID0ganNvbi5tYXAoaXRlbSA9PiB7CiAgICAgICAgICAgIHJldHVybiB7CiAgICAgICAgICAgICAgICB2b2RfaWQ6IHJ1bGUubWt0dlVybCArIGl0ZW0ubnVtYmVyICsgJy5ta3YnICsgJ0BAJyArIGl0ZW0ubmFtZSArICdAQCcgKyAnJywKICAgICAgICAgICAgICAgIHZvZF9uYW1lOiBpdGVtLm5hbWUsCiAgICAgICAgICAgICAgICB2b2RfcGljOiBydWxlLnBpYywKICAgICAgICAgICAgICAgIHZvZF9yZW1hcmtzOiBpdGVtLnNpbmdlcl9uYW1lcywKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgICAgIFZPRFMgPSBkOwogICAgfSksCiAgICBwbGF5X3BhcnNlOiB0cnVlLAogICAgbGF6eTogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBpbnB1dCA9IHtwYXJzZTogMCwgdXJsOiBpbnB1dH07CiAgICB9KSwKfQ==